package com.miplus.ccrm.core.service.strategy;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.core.controller.vo.LabelResVo;
import com.miplus.ccrm.core.controller.vo.strategy.TriggerEditVo;
import com.miplus.ccrm.core.controller.vo.strategy.TriggerReqVo;
import com.miplus.ccrm.core.controller.vo.strategy.TriggerResVo;
import com.miplus.ccrm.core.pojo.CpCalllistTrigger;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author pc
* @description 针对表【cp_calllist_trigger】的数据库操作Service
* @createDate 2024-03-21 20:36:44
*/
public interface CpCalllistTriggerService extends IService<CpCalllistTrigger> {
    IPage<TriggerResVo> triggerList(TriggerReqVo paras);

    CmdResVo triggerUpdate(String $usrid, TriggerEditVo paras);

    CmdResVo triggerInsert(String $usrid,TriggerEditVo paras);

    CmdResVo triggerDelete(int id);

    List<LabelResVo> getTriggerList();
}
